home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000093_patankar@acsu.buffalo.edu_Mon Oct 29 16:01:44 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  53 lines

  1. Article: 12910 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!portc01.blue.aol.com!newsstand.cit.cornell.edu!news.acsu.buffalo.edu!acsu.buffalo.edu!phaet.cedar.Buffalo.EDU!patankar
  3. From: Anish A Patankar <patankar@acsu.buffalo.edu>
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Ques with file
  6. Date: Mon, 29 Oct 2001 15:57:35 -0500
  7. Organization: University at Buffalo
  8. Lines: 35
  9. Message-ID: <Pine.SOL.4.30.0110291554450.5079-100000@phaet.cedar.buffalo.edu>
  10. References: <Pine.SOL.4.30.0110241624320.4071-100000@phaet.cedar.buffalo.edu> <9r79hi$mvt$1@newsmaster.cc.columbia.edu> <Pine.SOL.4.30.0110242037050.4071-100000@phaet.cedar.buffalo.edu> <9rciuj$hv1$1@newsmaster.cc.columbia.edu>
  11. NNTP-Posting-Host: phaet.cedar.buffalo.edu
  12. Mime-Version: 1.0
  13. Content-Type: TEXT/PLAIN; charset=US-ASCII
  14. To: Frank da Cruz <fdc@watsun.cc.columbia.edu>
  15. In-Reply-To: <9rciuj$hv1$1@newsmaster.cc.columbia.edu>
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12910
  17.  
  18.  
  19. Thanks..
  20. But how do i start kermit protocol on a serial device.. i start the kermit
  21. on my local mc on which the device is attached, but how do i initiate a
  22. binary JPEG file image transfer using kermit protocol transfer with the
  23. serial device..so that i can use receive , send etc..
  24.  
  25. Thanks again.
  26.  
  27. >  set modem type none >   set carrier-watch off      ;
  28. if necessary >   set port /dev/ttyS0        ; or whatever
  29. >   set speed 57600            ; or whatever
  30. >   set flow rts/cts           ; or Xon/Xoff or None
  31. >   log session shapshot.log   ; Start session log
  32. >   connect
  33. >
  34. > From this point until you escape back with Ctrl-\c, all the incoming
  35. > bytes are recorded in the file called shapshot.log.  There are other
  36. > ways to do it too, but this is the most straightforward.
  37. >
  38. > All this is assuming it's a text file.  If it's a binary file, such as a
  39. > Jpeg image, you're not necessarily going to be able to transfer it this way
  40. > due to lack of transparency of the connection to arbitrary bit patterns.
  41. > Use Kermit or some other protocol to transfer it.  If protocol transfers
  42. > are not available, try the above sequence but before giving the LOG SESSION
  43. > command, use:
  44. >
  45. >   set session-log binary
  46. >
  47. > But there can be guarantees.  Even if the data arrives intact, how do you
  48. > know where the beginning and end are?
  49. >
  50. > - Frank
  51. >
  52.  
  53.